package com.jindy.module.AssetRepair.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * 资产报修对象 asset_repair
 *
 * @author jindy
 * @date 2023-04-24
 */
public class AssetRepair extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 资产id */
    @Excel(name = "资产id")
    private Long assetId;

    /** 资产名称 */
    @Excel(name = "资产名称")
    private String assetName;

    /** 资产类别名称 */
    @Excel(name = "资产类别名称")
    private String className;

    /** 品牌 */
    @Excel(name = "品牌")
    private String assetBrand;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String assetModel;

    /** 数量 */
    @Excel(name = "数量")
    private Long assetQuantity;

    /** 报修人id */
    @Excel(name = "报修人id")
    private Long repairPerId;

    /** 报修人姓名 */
    @Excel(name = "报修人姓名")
    private String repairPerName;

    /** 报修人部门id */
    @Excel(name = "报修人部门id")
    private Long repairPerDeptId;

    /** 报修人部门名称 */
    @Excel(name = "报修人部门名称")
    private String repairPerDeptName;

    /** 当前使用人id */
    @Excel(name = "当前使用人id")
    private Long userId;

    /** 当前使用人姓名 */
    @Excel(name = "当前使用人姓名")
    private String userName;

    /** 当前使用人部门id */
    @Excel(name = "当前使用人部门id")
    private Long userDeptId;

    /** 当前使用人部门名称 */
    @Excel(name = "当前使用人部门名称")
    private String userDeptName;

    /** 报修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date repairTime;

    /** 维修金额 */
    @Excel(name = "维修金额")
    private BigDecimal repairMoney;

    /** 维修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upkeepTime;

    /** 报修状态 */
    @Excel(name = "报修状态")
    private String repairStatus;

    /** 维修人id */
    @Excel(name = "维修人id")
    private Long respPerId;

    /** 维修人名称 */
    @Excel(name = "维修人名称")
    private String respPerName;

    /** 维修人部门id */
    @Excel(name = "维修人部门id")
    private Long respPerDeptId;

    /** 维修人部门名称 */
    @Excel(name = "维修人部门名称")
    private String respPerDeptName;

    /** 资产领用表id */
    @Excel(name = "资产领用表id")
    private Long assetReceiveId;

    /** 删除标志（0存在，1删除） */
    private String delFlag;

    /** 维修结果 */
    @Excel(name = "维修结果")
    private String repairResult;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAssetId(Long assetId)
    {
        this.assetId = assetId;
    }

    public Long getAssetId()
    {
        return assetId;
    }
    public void setAssetName(String assetName)
    {
        this.assetName = assetName;
    }

    public String getAssetName()
    {
        return assetName;
    }
    public void setClassName(String className)
    {
        this.className = className;
    }

    public String getClassName()
    {
        return className;
    }
    public void setAssetBrand(String assetBrand)
    {
        this.assetBrand = assetBrand;
    }

    public String getAssetBrand()
    {
        return assetBrand;
    }
    public void setAssetModel(String assetModel)
    {
        this.assetModel = assetModel;
    }

    public String getAssetModel()
    {
        return assetModel;
    }
    public void setAssetQuantity(Long assetQuantity)
    {
        this.assetQuantity = assetQuantity;
    }

    public Long getAssetQuantity()
    {
        return assetQuantity;
    }
    public void setRepairPerId(Long repairPerId)
    {
        this.repairPerId = repairPerId;
    }

    public Long getRepairPerId()
    {
        return repairPerId;
    }
    public void setRepairPerName(String repairPerName)
    {
        this.repairPerName = repairPerName;
    }

    public String getRepairPerName()
    {
        return repairPerName;
    }
    public void setRepairPerDeptId(Long repairPerDeptId)
    {
        this.repairPerDeptId = repairPerDeptId;
    }

    public Long getRepairPerDeptId()
    {
        return repairPerDeptId;
    }
    public void setRepairPerDeptName(String repairPerDeptName)
    {
        this.repairPerDeptName = repairPerDeptName;
    }

    public String getRepairPerDeptName()
    {
        return repairPerDeptName;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setUserDeptId(Long userDeptId)
    {
        this.userDeptId = userDeptId;
    }

    public Long getUserDeptId()
    {
        return userDeptId;
    }
    public void setUserDeptName(String userDeptName)
    {
        this.userDeptName = userDeptName;
    }

    public String getUserDeptName()
    {
        return userDeptName;
    }
    public void setRepairTime(Date repairTime)
    {
        this.repairTime = repairTime;
    }

    public Date getRepairTime()
    {
        return repairTime;
    }
    public void setRepairMoney(BigDecimal repairMoney)
    {
        this.repairMoney = repairMoney;
    }

    public BigDecimal getRepairMoney()
    {
        return repairMoney;
    }
    public void setUpkeepTime(Date upkeepTime)
    {
        this.upkeepTime = upkeepTime;
    }

    public Date getUpkeepTime()
    {
        return upkeepTime;
    }
    public void setRepairStatus(String repairStatus)
    {
        this.repairStatus = repairStatus;
    }

    public String getRepairStatus()
    {
        return repairStatus;
    }
    public void setRespPerId(Long respPerId)
    {
        this.respPerId = respPerId;
    }

    public Long getRespPerId()
    {
        return respPerId;
    }
    public void setRespPerName(String respPerName)
    {
        this.respPerName = respPerName;
    }

    public String getRespPerName()
    {
        return respPerName;
    }
    public void setRespPerDeptId(Long respPerDeptId)
    {
        this.respPerDeptId = respPerDeptId;
    }

    public Long getRespPerDeptId()
    {
        return respPerDeptId;
    }
    public void setRespPerDeptName(String respPerDeptName)
    {
        this.respPerDeptName = respPerDeptName;
    }

    public String getRespPerDeptName()
    {
        return respPerDeptName;
    }
    public void setAssetReceiveId(Long assetReceiveId)
    {
        this.assetReceiveId = assetReceiveId;
    }

    public Long getAssetReceiveId()
    {
        return assetReceiveId;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setRepairResult(String repairResult)
    {
        this.repairResult = repairResult;
    }

    public String getRepairResult()
    {
        return repairResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("assetId", getAssetId())
                .append("assetName", getAssetName())
                .append("className", getClassName())
                .append("assetBrand", getAssetBrand())
                .append("assetModel", getAssetModel())
                .append("assetQuantity", getAssetQuantity())
                .append("repairPerId", getRepairPerId())
                .append("repairPerName", getRepairPerName())
                .append("repairPerDeptId", getRepairPerDeptId())
                .append("repairPerDeptName", getRepairPerDeptName())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("userDeptId", getUserDeptId())
                .append("userDeptName", getUserDeptName())
                .append("repairTime", getRepairTime())
                .append("repairMoney", getRepairMoney())
                .append("upkeepTime", getUpkeepTime())
                .append("repairStatus", getRepairStatus())
                .append("respPerId", getRespPerId())
                .append("respPerName", getRespPerName())
                .append("respPerDeptId", getRespPerDeptId())
                .append("respPerDeptName", getRespPerDeptName())
                .append("assetReceiveId", getAssetReceiveId())
                .append("remark", getRemark())
                .append("delFlag", getDelFlag())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("repairResult", getRepairResult())
                .toString();
    }
}
